<?php
namespace php\geo\googlemaps;

use php\geo\Position;

class PositionMapMarker extends MapMarker {

    private $position;

    public function __construct(Position $position) {
        $this->position = $position;
    }

    public function getPositionString() {
        return $this->position->asString();
    }

    public function setPosition(Position $position) {
        $this->position = $position;
    }

    public function getPosition() {
        return $this->position;
    }
}
